﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>Effects - Basics</title>
    <script src="script/jquery-1.3.2.js" type="text/javascript"></script>
    <script language="javascript" type="text/javascript">
        $(document).ready(function() {
            $("#btn1").click(function() { $("div").hide(); });
            $("#btn2").click(function() { $("div").hide("slow"); });
            $("#btn3").click(function() { $("div").show(); });
            $("#btn4").click(function() { $("div").show("slow"); });
            $("#btn5").click(function() { $("div").toggle(); });
        });  
    </script>
    <style type="text/css">
        div
        {
            width:230px;
            height:50px;
            border:dashed 1px #000;
            margin:13px 13px 13px 0;
            padding:13px;
            background-color:Red;
        }
    </style>
</head>
<body>
    <input type="button" id="btn1" value="Hide" />
    <input type="button" id="btn2" value="Hide with animation" />
    <input type="button" id="btn3" value="Show" />
    <input type="button" id="btn4" value="Show with animation" />
    <input type="button" id="btn5" value="toggle" />
    <div></div>
</body>
</html>
